﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model.Dto.Menu;

namespace Interface
{
    public  interface IMenuService
    {
        Task<bool> Add(MenuAdd req, string userId);
        Task<bool> Edit(MenuEdit req, string userId);
        Task<bool> Del( string id);

        //批量删除
        Task<bool> BatchDel(string ids);
        Task<List<MenuRes>> GetMenus(MenuReq req, string userId);
        Task<bool> SettingMenu(string rid, string mids);
    }
}
